package com.csii.modules.project.controller.vo;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.csii.autopoi.poi.excel.annotation.Excel;
import com.csii.core.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 项目
 * @Author: power-stdio
 * @Date:   2020-11-05
 * @Version: V1.0
 */
@ApiModel(value="project对象", description="项目")
@Data
public class ProjectVO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private String tenantId;
	/**项目名称*/
	@Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String name;
	/**项目编号*/
	@Excel(name = "项目编号", width = 15)
    @ApiModelProperty(value = "项目编号")
    private String sn;
	/**项目类型*/
	@Excel(name = "项目类型", width = 15, dicCode = "project_type")
    @Dict(dicCode = "project_type")
    @ApiModelProperty(value = "项目类型")
    private String type;
	/**项目状态*/
	@Excel(name = "项目状态", width = 15, dicCode = "project_status")
    @Dict(dicCode = "project_status")
    @ApiModelProperty(value = "项目状态")
    private String status;
	/**项目开始时间*/
	@Excel(name = "项目开始时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "项目开始时间")
    private Date activeStart;
	/**项目结束时间*/
	@Excel(name = "项目结束时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "项目结束时间")
    private Date activeEnd;
	/**项目描述*/
	@Excel(name = "项目描述", width = 15)
    @ApiModelProperty(value = "项目描述")
    private String description;
	/**计划人数*/
	@Excel(name = "计划人数", width = 15)
    @ApiModelProperty(value = "计划人数")
    private Integer planUserNum;
	/**计划工时*/
	@Excel(name = "计划工时", width = 15)
    @ApiModelProperty(value = "计划工时")
    private Integer planWorkTime;
	/**项目经理*/
	@Excel(name = "项目经理", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "项目经理")
    private String proManagerName;
	/**产品经理*/
	@Excel(name = "产品经理", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "产品经理")
    private String productManagerName;
	/**负责人*/
	@Excel(name = "负责人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "负责人")
    private String principalName;
	/**总监*/
	@Excel(name = "总监", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "总监")
    private String directName;

    public static void main(String[] args) {

    }
}
